package com.franklin.java.api.spring.annotation.bean;

import com.franklin.java.api.spring.annotation.SpringAnnotation;

/**
 * 依赖注入注解
 * @author Franklin
 * @since 2021/8/13 16:44
 */
public abstract class DependencyInjectionAnnotation extends SpringAnnotation {
    /**
     * 注入bean的名称
     */
    protected String injectBeanName;

    protected DependencyInjectionAnnotation(String qualifiedName, String shortName, String injectBeanName) {
        super(qualifiedName, shortName, injectBeanName);
        this.injectBeanName = injectBeanName;
    }

    public String getInjectBeanName() {
        return injectBeanName;
    }

    protected String getSuffix(){
        return "";
    }
}
